/*
 * Copyright 2010-2011 ESunny.com All right reserved. This software is the confidential and proprietary information of
 * ESunny.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with ESunny.com.
 */
package com.xjt.query.service.interf;

import java.util.Map;

import com.xjt.query.dao.pojo.QueryUser;

/**
 * 登录业务类
 * 
 * @author Jet Xu 2012-7-31 上午10:30:32
 */
public interface LoginService {
    
    QueryUser selectUserById(Long id);

    QueryUser doLogin(String userId, String pwd, String savePwd);

    QueryUser doLogin(String userId, String pwd, String savePwd, Map<String, String> errorMap);

    void doLogout();
}
